home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 June
/
EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso
/
earcd
/
c-lang
/
phnlgdvk.lha
/
PhoneLog
/
src
/
StringMem.h
< prev
next >
Wrap
C/C++ Source or Header
|
1996-03-07
|
2KB
|
70 lines
#ifndef yyStringMem
#define yyStringMem
/* $Id: StringMem.h,v 1.6 1992/08/07 14:36:51 grosch rel $ */
/* $Log: StringMem.h,v $
* Revision 1.6 1992/08/07 14:36:51 grosch
* added comments
*
* Revision 1.5 1992/02/18 12:52:30 grosch
* changed tString from unsigned char * to char *
*
* Revision 1.4 1992/01/30 13:12:51 grosch
* complete redesign: pointer instead of array index
*
* Revision 1.3 1991/11/21 14:28:16 grosch
* new version of RCS on SPARC
*
* Revision 1.2 91/07/17 17:23:48 grosch
* introduced ARGS trick for ANSI compatibility
*
* Revision 1.1 90/07/04 14:34:08 grosch
* introduced conditional include
*
* Revision 1.0 88/10/04 11:44:47 grosch
* Initial revision
*
*/
/* Ich, Doktor Josef Grosch, Informatiker, Sept. 1987 */
#include <stdio.h>
#include "ratc.h"
typedef unsigned short *tStringRef;
tStringRef PutString(register char *s, register cardinal length);
/* Stores string 's' in the string memory and */
/* returns a reference to the stored string. */
void StGetString(register tStringRef r, register char *s);
/* Returns the string 's' from the string */
/* memory which is referenced by 'r'. */
/* cardinal LengthSt(register tStringRef r); */
#define LengthSt(stringref) (* stringref)
/* Returns the length of the string 's' */
/* which is referenced by 'r'. */
bool IsEqualSt(tStringRef r, register char *s);
/* Compares the string referenced by 'r' and */
/* the string 's'. */
/* Returns true if both are equal. */
void WriteString(FILE *f, tStringRef r);
/* The string referenced by 'r' is printed on */
/* the file 'f'. */
void WriteStringMemory(void);
/* The contents of the string memory is printed */
/* on standard output. */
void InitStringMemory(void);
/* The string memory is initialized. */
#endif